<template>
	<view>
    <web-view :src="webSrc"></web-view>
	
	</view>
</template>

<script>
  import { mapState, mapMutations } from "vuex"
	export default {
		data() {
			return {
				webSrc: '',
			};
		},
    computed: mapState({
      signUrl: state => state.user.signUrl,
    }),
		onLoad(options) {
      // let {
      // 	link
      // } = options
      // this.webSrc = link
      //window.location.href = this.webSrc
		},
    onShow() {
      this.webSrc = this.signUrl
    },
    onHide() {
      this.setsignUrl("")
    },
    methods: {
      ...mapMutations('user', ['setsignUrl']),
    }
	}
</script>

<style lang="scss">

</style>
